home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
- /* $Id: LiteFac.h 1.1 1996/07/19 00:04:32 Damien Exp $ */
-
- ////////////////////////////////////////////////////////////////////////
- // First Light Source Example : Beams Light //
- //--------------------------------------------------------------------//
- // Declaration of the Beams Light Class Factory //
- ////////////////////////////////////////////////////////////////////////
-
-
- #ifndef __LITEFAC__
- #define __LITEFAC__
-
- #ifndef __I3DEX__
- #include "I3DEx.h"
- #endif
-
- // BeamsLight Class Factory :
- class BeamsLightClassFactory : public IClassFactory {
- public:
- BeamsLightClassFactory(void);
- ~BeamsLightClassFactory(void);
-
- //IUnknown members
- STDMETHODIMP QueryInterface(REFIID, LPVOID FAR*);
- STDMETHODIMP_(ULONG) AddRef(void);
- STDMETHODIMP_(ULONG) Release(void);
-
- //IClassFactory members
- STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
- STDMETHODIMP LockServer(BOOL);
- protected:
- ULONG m_cRef;
- };
-
- #endif
-